Jenkins连接git时出现“Failed to connect to repository : Command … HEAD” returned status code 128:”的问题解决

694次阅读
没有评论
"alt="Jenkins 连接 git 时出现“Failed to connect to repository : Command ... HEAD"returned status code 128:”的问题解决 " fetchpriority="high" decoding="async" width="251" height="200" data-src="https://fastyw.com/wp-content/uploads/2022/12/jenkins.png" data-lazy="true" src="https://fastyw.com/wp-content/themes/wordpress-theme-puock-2.6.6/assets/img/z/load-tip.png" alt=""class="wp-image-141"/>

jenkins 报错,gitlab 正常连接

服务器上 ping gitlab 得 ip 能通

telnet 端口也能通

但就是无法正常连接

执行下面代码解决:

git config --global credential.helper wincred
正文完
 1
评论(没有评论)
验证码